package com.sdx.exception;

/**
 * @ClassName LoginException
 * @Description: 登录异常类
 * @author: kangbin
 * @date: 2019/3/26 9:32
 */
public class LoginFailException extends RuntimeException {
	private LoginFailExceptionCode loginFailExceptionCode;

	public LoginFailException(LoginFailExceptionCode loginExceptionCode, String errorMessage) {
		super(errorMessage);
		this.loginFailExceptionCode = loginExceptionCode;
	}

	public LoginFailExceptionCode getLoginFailExceptionCode() {
		return loginFailExceptionCode;
	}

	public void setLoginFailExceptionCode(LoginFailExceptionCode loginFailExceptionCode) {
		this.loginFailExceptionCode = loginFailExceptionCode;
	}
}

